package top.whysu.study.thinkinjava.chapter8.polymorphism.example1;

import static net.mindview.util.Print.print;

public class Instrument {
    public void play(Note n) {
        print("Instrument.play()");
    }
    public String what() {return "Instrument";}

    @Override
    public String toString() {
        return what();
    }
}
